<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% String contextPath = request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="<%= contextPath %>/css/style.css" type="text/css" />
		<style type="text/css">  
		<!-- 
			div.form {
				width:  300px;
				margin:	1em;
				padding:1em;
				border: 1px solid gray;
			}
		-->  
		</style>  
		<title>Sample</title>
	</head>
	<body>
		<div class="form">
			<form action="SampleServlet" method="post">
				<p>顧客照会機能</p>
				<p>
					<input type="text" name="customer" />
				</p>
				<br />
				<p>
					<input type="submit" name="type" value="顧客照会" />
				</p>
			</form>
		</div>
		<div class="form">
			<form action="SampleServlet" method="post">
				<p>商品照会機能</p>
				<p>
					<input type="text" name="product" />
				</p>
				<br />
				<p>
					<input type="submit" name="type" value="商品照会" />
				</p>
			</form>
		</div>
		<div class="form">
			<form action="SampleServlet" method="post">
				<p>在庫照会機能</p>
				<p>
					<input type="text" name="stock" />
				</p>
				<br />
				<p>
					<input type="submit" name="type" value="在庫照会" />
				</p>
			</form>
		</div>
		<div class="form">
			<form action="SampleServlet" method="post">
				<p>注文登録機能</p>
				<p>顧客番号</p>
				<p>
					<input type="text" name="order_customer" />
				</p>
				<p>商品番号１</p>
				<p>
					<input type="text" name="order_product_1" />
				</p>
				<p>単価１</p>
				<p>
					<input type="text" name="order_price_1" />
				</p>
				<p>受注数１</p>
				<p>
					<input type="text" name="order_quantity_1" />
				</p>
				<p>商品番号２</p>
				<p>
					<input type="text" name="order_product_2" />
				</p>
				<p>単価2</p>
				<p>
					<input type="text" name="order_price_2" />
				</p>
				<p>受注数２</p>
				<p>
					<input type="text" name="order_quantity_2" />
				</p>
				<br />
				<p>
					<input type="submit" name="type" value="注文登録" />
				</p>
			</form>
		</div>
		<div class="form">
			<form action="SampleServlet" method="get">
				<p>配送状況照会機能</p>
				<p>受注番号</p>
				<p>
					<input type="text" name="order_number" />
				</p>
				<br />
				<p>
					<input type="submit" name="type" value="配送状況照会" />
				</p>
			</form>
		</div>
	</body>
</html>